package mba.studies.read_system.entity;


import lombok.Data;

@Data
public class News {
    private String title;
    private int newType;
    private String content;
    private String picUrl;
    private String webUrl;
    private String date;


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getNewType() {
        return newType;
    }

    public void setNewType(int newType) {
        this.newType = newType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getWebUrl() {
        return webUrl;
    }

    public void setWebUrl(String webUrl) {
        this.webUrl = webUrl;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }


    @Override
    public String toString() {
        return "News{" +
                "title='" + title + '\'' +
                ", newType=" + newType +
                ", content='" + content + '\'' +
                ", picUrl='" + picUrl + '\'' +
                ", webUrl='" + webUrl + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
